package com.cssw.fyzb.core.model.vo.user;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class DistrictTreeNodeVo implements Serializable {

    private static final long serialVersionUID = -3450064362986270928L;

    private String districtCode;

    private String districtType;

    private String districtName;

    private String supDistrictCode;

    private List<DistrictTreeNodeVo> children = new ArrayList<>();

    public void add(DistrictTreeNodeVo districtTreeNodeVo){
        children.add(districtTreeNodeVo);
    }

}
